package resolver

// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.

import (
	"context"
	"fmt"

	"mall/service/wpgql/api/internal/graph/generated"
	"mall/service/wpgql/api/internal/graph/model"
)

func (r *queryResolver) Taxonomies(ctx context.Context, first *int, last *int, after *string, before *string) (*model.RootQueryToTaxonomyConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *queryResolver) Taxonomy(ctx context.Context, id string, idType *model.TaxonomyIDTypeEnum) (*model.Taxonomy, error) {
	panic(fmt.Errorf("not implemented"))
}

func (r *taxonomyResolver) ConnectedContentTypes(ctx context.Context, obj *model.Taxonomy, first *int, last *int, after *string, before *string) (*model.TaxonomyToContentTypeConnection, error) {
	panic(fmt.Errorf("not implemented"))
}

// Taxonomy returns generated.TaxonomyResolver implementation.
func (r *Resolver) Taxonomy() generated.TaxonomyResolver { return &taxonomyResolver{r} }

type taxonomyResolver struct{ *Resolver }
